package writeor.aidraw.service;

import com.github.pagehelper.PageInfo;
import writeor.aidraw.model.AiImages;
import writeor.aidraw.model.User;

import java.util.List;


public interface AiImageService {

    public int give_like(String img_path,int like);


    public PageInfo<AiImages> SearchImageWithUser(Integer page, Integer count,String find_images,String user_name);//带分页
    public PageInfo<AiImages> FindImageListWithUser(Integer page, Integer count,String user);//带分页
    public PageInfo<AiImages> FindImageListForPage(Integer page, Integer count);//带分页


    //更新商品分类
    public int updateImage108(AiImages aiImages);


    //删除商品分类信息
    public int deleteImage108(String img_path);


    public PageInfo<AiImages> FindImageByPrompt(Integer page, Integer count, String find_images);

}
